APSIM Next Generation: The final frontier?

نویسندگان

  • Dean Holzworth
  • N. I. Huth
  • N. I. Herrmann
چکیده

For twenty four years, the Agricultural Production Systems sIMulator (APSIM) has grown from a farming systems framework used by a small number of people, into a large collection of models used by many thousands of modellers internationally. The software consists of many hundreds of thousands of lines of code in 6 different programming languages. The models are connected to each other using a ‘common modelling protocol’. This infrastructure has successfully integrated a diverse range of models but isn’t capable of easily meeting the challenges outlined above. For these reasons, the APSIM Initiative has begun developing a next generation of APSIM (dubbed APSIM Next Gen) that is written from scratch and designed to ‘run anywhere’. The new framework incorporates the best of the APSIM 7.7 framework with an improved supporting framework. C# was chosen as the programming language and together with MONO, the models and user interface run on Windows, LINUX and OSX. The Plant Modelling Framework (a generic collection of plant building blocks) was ported from the existing APSIM to bring a rapid development pathway for plant models. The user interface paradigm has been kept the same as the existing APSIM version, but completely rewritten to support new application domains and the newer Plant Modelling Framework. The ability to describe experiments has been added which can also be used for rapidly building factorials of simulations. The ability to write C# and VB.NET scripts to control farm and paddock management has been retained. Finally, all simulation outputs are written to an SQLite database to make it easier and quicker to query, filter and graph outputs. The software engineering process has also been significantly improved. We have adopted GitHub to host the APSIM Next Gen. repository and have built a workflow around it involving feature branches, pull requests for peer-review of code and science reviews for major tasks. We have improved the testing regime and are building validation data sets for all models. These datasets are re-generated every time there is a change to APSIM and regression statistics are compared with previously accepted values. This improves the likelihood of detecting unexpected changes to model performance when a developer commits new changes. We have also enhanced the way we document all models by auto-generating all documentation from the validation tests and from using reflection to examine comments in the source code. The result is a nicely formatted PDF that describes a model and presents its validation, with regression statistics, graphically. This paper explores each of the design decisions outlined above and discusses why the decision was made to ‘start from scratch’.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

APSIM - Evolution towards a new generation of agricultural systems simulation

Agricultural systems models worldwide are increasingly being used to explore options and solutions for the food security, climate change adaptation and mitigation and carbon trading problem domains. APSIM (Agricultural Production Systems sIMulator) is one such model that continues to be applied and adapted to this challenging research agenda. From its inception twenty years ago, APSIM has evolv...

متن کامل

Designing Superconducting Cavities for Accelerators

Rapid advances in the performance of superconducting cavities have made RF superconductivity a key technology for accelerators that fulfil a variety of physics needs: high energy particle physics, nuclear physics, neutron spallation sources, and free electron lasers. New applications are forthcoming for frontier high energy physics accelerators, radioactive beams for nuclear astrophysics, next ...

متن کامل

Using a whole farm model linked to the APSIM suite to predict production, profit and N leaching for next generation dairy systems in the Canterbury region of New Zealand

Management options were explored using DairyNZ’s Whole Farm Model (WFM) to predict farmscale milksolids (MS = fat + protein) production and operating profit. Predictions of urinary-N excretions from individual cows were linked to the Agricultural Production System Simulator (APSIM) suite via a Urine Patch Framework (UPF) to estimate N leaching on a farm scale while accounting for urine patches ...

متن کامل

Integrating pest population models with biophysical crop models to better represent the farming system

Farming systems frameworks such as the Agricultural Production Systems simulator (APSIM) represent fluxes through the soil, plant and atmosphere of the systemwell, but do not generally consider the biotic constraints that function within the system. We designed a method that allowed population models built in DYMEX to interact with APSIM. The simulator engine component of the DYMEX population-m...

متن کامل

Development of an oil palm cropping systems model: Lessons learned and future directions

Oil palm has become one of the most important crops in the world with questions being raised about its economic and environmental sustainability. Agricultural systems models are regularly employed in studying sustainable crop management but no detailed model is currently available for oil palm systems. We developed a production systems model for oil palm within the Agricultural Production Syste...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2015